<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/taglibs.jsp"%>
<script>
$().ready( function() {
	$("#dpnStoreCity").change(function() {
		$.post("queryStore.do", { dpnStoreCity: $("#dpnStoreCity").val() },
				   function(data){
			   		$("#city").html(jQuery.trim(data));
			   		$("#addr").html("");
			   		$("#storeInfo").html("");
				     //alert("Data Loaded: " + data);
		});
	});
});
function loadStore(){
	$.post("queryStore.do", { dpnStoreArea: $("#dpnStoreArea").val() },
			   function(data){
		   		$("#addr").html(jQuery.trim(data));
		   		$("#storeInfo").html("");
			     //alert("Data Loaded: " + data);
	});
}
function loadStoreInfo(){
	$.post("queryStore.do", { dpnStoreId: $("#dpnStoreId").val() },
			   function(data){
		   		$("#storeInfo").html(jQuery.trim(data));
			     //alert("Data Loaded: " + data);
	});
}
</script>
<div class="payment" style="height:500px">
<h3>选择取货门店</h3>
<div class="atstore">
  <div class="area01">
    <p>目前达芙妮取货范围限定<strong>上海全区</strong>
    <label>城市：</label>
    <select id="dpnStoreCity" name="dpnStoreCity">
        <option>请选择</option>
         <option value="上海市">上海市</option>        
      </select>
    </p>
    <p>
      <label>区域：</label><span id="city"></span>
    </p>
    <p>
      <label>地址：</label><span id="addr">     
      </span>
    </p>
  </div>
  <div class="area02" id="storeInfo">
    <p>
      <label>门店地址：</label>
      </p>
    <p></p>
  </div>
</div>
</div>